package com.fxc.tank.abstractfactory;

import com.fxc.Bullet;
import com.fxc.Dir;
import com.fxc.Explods;
import com.fxc.Group;
import com.fxc.Tank;
import com.fxc.TankFrame;

public class DefaultFactory extends GameFactory {

	@Override
	public BaseTank BaseTank(int x, int y, Dir dir, Group group, TankFrame tf) {
		return new Tank(x, y, dir, tf, group);
	}

	@Override
	public BaseExplode BaseExplode(int x, int y, TankFrame tf) {
		return new Explods(x, y, tf);
	}

	@Override
	public BaseBullet BaseBullet(int x, int y, Dir dir, TankFrame tf, Group group) {
		return new Bullet(x, y, dir, tf, group);
	}
}
